package com.intretech.tj.tcp;

import com.intretech.tj.global.parent.OutLogParent;
import jakarta.enterprise.context.ApplicationScoped;
import lombok.extern.slf4j.Slf4j;


/**
 * 日志输出
 */
@Slf4j
@ApplicationScoped
public class OutLog extends OutLogParent {
    public static final String Connect = "%s成功连接";
    public static final String Close = "%s断开连接";

    public static final String NotFoundIP = "连接池中不存在该IP:%s";

    public static final String IPError = "IP有误导致失败";

    @Override
    protected void setServerName() {
        serverName = "TCP";
    }

}
